package com.klun.designMode.builder;

/**
 * 建造者模式-指导者
 */
public class CarDirector {
    public Car constructCar(ICarBuilder builder){
        builder.buildEngine();
        builder.buildSkeleton();
        builder.buildWheel();
        return builder.buildCar();
    }
}
